package com.shenmazong.servereditdemo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.HashMap;

/**
 * @author 田不平
 * @project server-security
 * @date 2020/4/29 2:25 PM
 * http://www.shenmazong.com
 */
@Slf4j
@Controller
@CrossOrigin
public class EditController {

    @GetMapping(value = "/ckedit")
    public String ckedit() {
        return "ck/ckedit";
    }

    @GetMapping(value = "/wang")
    public String editor() {
        return "wang";
    }

    @GetMapping(value = "/tiny")
    public String tiny() {
        return "tiny";
    }

    @GetMapping(value = "/ck")
    public String ck() {
        return "ck";
    }

    @GetMapping(value = "/w")
    public String w() {
        return "w";
    }

    @GetMapping(value = "/sample")
    public String sample() {
        return "sample";
    }
}
